package com.hl.shifangzhiyu.service;


import com.hl.shifangzhiyu.pojo.User;

public interface UserService {
    User login(String phone, String password);
    boolean updateUser(User user);
    User getById(Integer id);
    boolean  register(User user);
    boolean changePassword(Integer userId, String oldPassword, String newPassword);
}
